package com.tea.Model.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.Valid;
import javax.validation.constraints.NotEmpty;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class BatchSpecStockUpdateDTO {
    
    @NotEmpty(message = "批量更新数据不能为空")
    @Valid
    private List<SpecStockUpdateDTO> items;
}